<?php /* Smarty version 2.6.18, created on 2009-10-20 16:26:54
         compiled from news_postList.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "news_header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

</header>
<body class="oneColLiqCtrHdr">
<div id="container">

  <div id="header">
<h1>文章列表 - <?php echo $this->_tpl_vars['module_name']; ?>
</h1>
  </div>

  <div id="mainContent">
  	<?php if ($this->_tpl_vars['error'] <> ''): ?><div id="error"><span style="color:red">Error:</span> <?php echo $this->_tpl_vars['error']; ?>
</div><?php endif; ?>
  	<?php if ($this->_tpl_vars['success'] <> ''): ?><div id="success"><span style="color:blue">Success:</span><?php echo $this->_tpl_vars['success']; ?>
</div><?php endif; ?>

<table width="700" class="listTable" align="center">
  <tr>
    <td width="70">文章ID</td>
    <td width="120">分类</td>
    <td width="420">标题</td>
    <td width="45">编辑</td>
    <td width="45">删除</td>
  </tr>
<?php $_from = $this->_tpl_vars['xPosts']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['xPost']):
?>
	<tr>
		<?php $_from = $this->_tpl_vars['xPost']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['item']):
?>
		<td><?php echo $this->_tpl_vars['item']; ?>
</td>
		<?php endforeach; endif; unset($_from); ?>
	</tr>
<?php endforeach; endif; unset($_from); ?>
</table>

<form id="form1" name="form1" method="get" action="entry.php">
<div class="nav">第<?php echo $this->_tpl_vars['page']; ?>
页,共<?php echo $this->_tpl_vars['sum']; ?>
页;&nbsp;&nbsp;
	<input type="hidden" name="module" value="news" /><input type="hidden" name="action" value="list" />
	跳转至  <input type="text" name="page" id="page"  size="5" value="<?php echo $this->_tpl_vars['page']+1; ?>
" />
	 <input type="submit" value="跳转" />
  <!-- <a href='javascript:history.go(-1)'>上一步</a> --></div>
</form>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "news_footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>